<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="mainMenu" />
<meta name="nav" content="0" />
<meta name="acc" content="1" />
<title>帐号管理</title>
</head>
<!--  通用情况下 不引入 js css  表单验证  js 放置到页面中 -->
<body>
<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
</div>
	<!-- 直接主体内容开始  无需要涉及页面布局的  div 等   注意各页面中的Id 保持一致  页面中尽量用 el表达式 与html标签->
<!--   form定义 类似如下:  注意各页面中的Id 保持一致-->
<form id="mainForm" action="${ctx }/account/user!findinsideUser.action" method="get" class="yform">
<div id="filter">
<ul>
<li>用户名:<input type="text" name="filter_LIKES_userName" value="${param['filter_LIKES_userName']}" size="9" /></li>
<li>姓名或Email:<input type="text" name="filter_LIKES_name_OR_email" value="${param['filter_LIKES_name_OR_email']}" size="9" /></li>
</ul>
<div class="type-button"><input type="button" value="查询" onclick="search();" class="search"/></div>
</div>
<div id="content">
<table id="contentTable">
<tr>
	<th><a id="createDate" href="javascript:sort('createDate','asc')">序号</a></th>
	<th><a id="name" href="javascript:sort('name','asc')">姓名</a></th>
	<th><a id="mobilePhone" href="javascript:sort('mobilePhone','asc')">手 机</a></th>
	<th>是否激活</th>
	<th>操作</th>
</tr>
<s:iterator value="page.result" status="status">
	<tr>
		<td>${page.first+status.index }</td>
	    <td>${name}&nbsp;</td>
		<td>${mobilePhone}&nbsp;</td>
		<td>${enable=='1'?'已激活':'未激活' }</td>
		<td>&nbsp; 
			<a href="user!input.action?id=${id}&label=inside">修改</a>&nbsp;
			<a href="user!delete.action?id=${id}&label=inside" onclick="return confirmDelete();">删除</a>
		</td>
	</tr>
</s:iterator>
</table>
</div>
<jsp:include page="/common/page.jsp" />
	<div class="type-button"><input onclick="location.href='${ctx}/account/user!input.action'" type="button" class="add" value="新增" /> 
</div>
	</form>
</body>
</html>
